package com.maixin.code.entity;


/**
 * Authority entity. @author MyEclipse Persistence Tools
 */

public class Authority implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String authorityname;
	private String authoritycode;
	private String remark;
	private Integer roleid;
	private Integer authorityid;
	private String rolename;
	private Integer parentId;
	// Constructors

	/** default constructor */
	public Authority() {
	}

	/** full constructor */
	public Authority(String authorityname, String authoritycode, String remark) {
		this.authorityname = authorityname;
		this.authoritycode = authoritycode;
		this.remark = remark;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAuthorityname() {
		return this.authorityname;
	}

	public void setAuthorityname(String authorityname) {
		this.authorityname = authorityname;
	}

	public String getAuthoritycode() {
		return this.authoritycode;
	}

	public void setAuthoritycode(String authoritycode) {
		this.authoritycode = authoritycode;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getRoleid() {
		return roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public Integer getAuthorityid() {
		return authorityid;
	}

	public void setAuthorityid(Integer authorityid) {
		this.authorityid = authorityid;
	}

	public String getRolename() {
		return rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

}